Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

scripts/verify-flatpak/desktop-offline.yaml fix/qr-error-correction (7b45f84f) Text, 5.63 KB

T8b949e# Local offline verification of org.meshtastic.MeshtasticDesktop.
T8b949e# Differences from the official Flathub manifest (flathub/org.meshtastic.MeshtasticDesktop):
T8b949e# 1. Meshtastic-Android source: `type: dir` pointing at our local checkout instead of `type: git`.
T8b949e# 2. flatpak-sources.json is INCLUDED (uncommented) so Gradle resolves from the offline-repository.
T8b949e# 3. Build uses `--offline` for Gradle — true Flathub-style offline compilation.
T8b949e# (finish-args still grants runtime network since the app needs it; only the build is offline.)
T8b949e# Generated by scripts/verify-flatpak/verify.sh; do not edit upstream from here.

Tff7b72idTb4b4b4: Ta5d6fforg.meshtastic.MeshtasticDesktop
Tff7b72runtimeTb4b4b4: Ta5d6fforg.freedesktop.Platform
Tff7b72runtime-versionTb4b4b4: Ta5d6ff'Ta5d6ff25.08Ta5d6ff'
Tff7b72sdkTb4b4b4: Ta5d6fforg.freedesktop.Sdk
Tff7b72sdk-extensionsTb4b4b4:
T8b949e# Single JDK: openjdk25 runs the Gradle daemon (gradle/gradle-daemon-jvm.properties pins
T8b949e# toolchainVersion=25) and satisfies every module's jvmToolchain (25). The offline build
T8b949e# disables toolchain auto-provisioning, so bumping either pin means updating this extension
T8b949e# and the /usr/lib/sdk/openjdk* paths below — a miss fails at daemon startup or compileJava.
Tb4b4b4- Ta5d6fforg.freedesktop.Sdk.Extension.openjdk25
Tff7b72commandTb4b4b4: Ta5d6ffmeshtastic-wrapper.sh

Tff7b72finish-argsTb4b4b4:
Tb4b4b4- Ta5d6ff--share=ipc
Tb4b4b4- Ta5d6ff--socket=x11
Tb4b4b4- Ta5d6ff--device=dri
Tb4b4b4- Ta5d6ff--device=all
Tb4b4b4- Ta5d6ff--share=network
Tb4b4b4- Ta5d6ff--talk-name=org.kde.StatusNotifierWatcher
Tb4b4b4- Ta5d6ff--talk-name=org.freedesktop.Notifications
Tb4b4b4- Ta5d6ff--allow=bluetooth
Tb4b4b4- Ta5d6ff--system-talk-name=org.bluez.*
Tb4b4b4- Ta5d6ff--env=PATH=/app/jre/bin:/app/bin:/usr/bin
Tb4b4b4- Ta5d6ff--env=JAVA_HOME=/app/jre

Tff7b72modulesTb4b4b4:
Tb4b4b4- Tff7b72nameTb4b4b4: Ta5d6ffjbr
Tff7b72buildsystemTb4b4b4: Ta5d6ffsimple
Tff7b72build-commandsTb4b4b4:
Tb4b4b4- Ta5d6ffmkdirTa5d6ff Ta5d6ff-pTa5d6ff Ta5d6ff/app/jre
Tb4b4b4- Ta5d6fftarTa5d6ff Ta5d6ffxzfTa5d6ff Ta5d6ffjbr-*.tar.gzTa5d6ff Ta5d6ff-CTa5d6ff Ta5d6ff/app/jreTa5d6ff Ta5d6ff--strip-components=1
Tff7b72sourcesTb4b4b4:
Tb4b4b4- Tff7b72typeTb4b4b4: Ta5d6fffile
Tff7b72urlTb4b4b4: Ta5d6ffhttps://cache-redirector.jetbrains.com/intellij-jbr/jbr-25.0.3-linux-x64-b508.16.tar.gz
Tff7b72sha512Tb4b4b4: Ta5d6fff936d2a4048485d3cb552c26f69b41f13eba0f75de1178c9ff6185547755c336d0ef5af9641f004e916d0d0414e34d1e9f9d12c08d262038cbca517dcad0dc96
Tff7b72only-archesTb4b4b4:
Tb4b4b4- Ta5d6ffx86_64
Tb4b4b4- Tff7b72typeTb4b4b4: Ta5d6fffile
Tff7b72urlTb4b4b4: Ta5d6ffhttps://cache-redirector.jetbrains.com/intellij-jbr/jbr-25.0.3-linux-aarch64-b508.16.tar.gz
Tff7b72sha512Tb4b4b4: Ta5d6ff038cce6e7e2d68a28c1b269aff199c2e8a4bca58e24d27f9345fbb6031d6b6dc82d79d524586f3e96952d0272d2ca02fa84817df69b4f6052e9f2c5d34c02bad
Tff7b72only-archesTb4b4b4:
Tb4b4b4- Ta5d6ffaarch64

Tb4b4b4- Tff7b72nameTb4b4b4: Ta5d6ffmeshtastic-wrapper
Tff7b72buildsystemTb4b4b4: Ta5d6ffsimple
Tff7b72build-commandsTb4b4b4:
Tb4b4b4- Ta5d6ffinstallTa5d6ff Ta5d6ff-Dm755Ta5d6ff Ta5d6ffmeshtastic-wrapper.shTa5d6ff Ta5d6ff/app/bin/meshtastic-wrapper.sh
Tff7b72sourcesTb4b4b4:
Tb4b4b4- Tff7b72typeTb4b4b4: Ta5d6fffile
Tff7b72pathTb4b4b4: Ta5d6ffmeshtastic-wrapper.sh

Tb4b4b4- Tff7b72nameTb4b4b4: Ta5d6ffmeshtastic-desktop
Tff7b72buildsystemTb4b4b4: Ta5d6ffsimple
Tff7b72build-optionsTb4b4b4:
Tff7b72append-pathTb4b4b4: Ta5d6ff"Ta5d6ff/usr/lib/sdk/openjdk25/binTa5d6ff"
Tff7b72envTb4b4b4:
Tff7b72JAVA_HOMETb4b4b4: Ta5d6ff/usr/lib/sdk/openjdk25/jvm/openjdk-25
T8b949e# Point Gradle at the offline mirror produced by flatpak-sources.json
Tff7b72GRADLE_USER_HOMETb4b4b4: Ta5d6ff/run/build/meshtastic-desktop/.gradle
Tff7b72build-commandsTb4b4b4:
T8b949e# Install desktop metadata from the in-repo packaging sources (mirrors the upstream Flathub manifest,
T8b949e# which stopped shipping standalone root-level copies as of 2026-05-30).
Tb4b4b4- Ta5d6ffinstallTa5d6ff Ta5d6ff-Dm644Ta5d6ff Ta5d6ffdesktopApp/packaging/icons/icon.svgTa5d6ff Ta5d6ff/app/share/icons/hicolor/scalable/apps/org.meshtastic.MeshtasticDesktop.svg
Tb4b4b4- Ta5d6ffinstallTa5d6ff Ta5d6ff-Dm644Ta5d6ff Ta5d6ff-tTa5d6ff Ta5d6ff/app/share/applicationsTa5d6ff Ta5d6ffdesktopApp/packaging/linux/org.meshtastic.MeshtasticDesktop.desktop
Tb4b4b4- Ta5d6ffdesktop-file-editTa5d6ff Ta5d6ff--set-key="Exec"Ta5d6ff Ta5d6ff--set-value="meshtastic-wrapper.shTa5d6ff Ta5d6ff%U"
Ta5d6ff/app/share/applications/org.meshtastic.MeshtasticDesktop.desktop
Tb4b4b4- Ta5d6ffinstallTa5d6ff Ta5d6ff-Dm644Ta5d6ff Ta5d6ff-tTa5d6ff Ta5d6ff/app/share/metainfoTa5d6ff Ta5d6ffdesktopApp/packaging/linux/org.meshtastic.MeshtasticDesktop.metainfo.xml
T8b949e# Point the wrapper at the bundled zip. distributionSha256Sum stays — the vendored
T8b949e# zip is the identical -bin artifact, so wrapper verification still passes.
Tb4b4b4- Ta5d6ffsedTa5d6ff Ta5d6ff-iTa5d6ff Ta5d6ff's|distributionUrl=.*|distributionUrl=gradle-bin.zip|'Ta5d6ff Ta5d6ffgradle/wrapper/gradle-wrapper.properties
Tb4b4b4- Ta5d6ffechoTa5d6ff Ta5d6ff"org.gradle.java.installations.auto-detect=false"Ta5d6ff Ta5d6ff>>Ta5d6ff Ta5d6ffgradle.properties
Tb4b4b4- Ta5d6ffechoTa5d6ff Ta5d6ff"org.gradle.java.installations.auto-download=false"Ta5d6ff Ta5d6ff>>Ta5d6ff Ta5d6ffgradle.properties
Tb4b4b4- Ta5d6ffechoTa5d6ff Ta5d6ff"org.gradle.java.installations.paths=/usr/lib/sdk/openjdk25/jvm/openjdk-25"Ta5d6ff Ta5d6ff>>Ta5d6ff Ta5d6ffgradle.properties
Tb4b4b4- Tb4b4b4>
Tff7b72sed -i
Tff7b72's/^\(\s*\)vendor\.set(JvmVendorSpec\.JETBRAINS)/\1\/\/ vendor.set(JvmVendorSpec.JETBRAINS)/'
Tff7b72desktopApp/build.gradle.kts
T8b949e# Force Gradle to resolve from the bundled offline-repository ONLY (true offline test).
T8b949e# -Pdesktop.release=true: shipped builds must have IS_DEBUG=false (no debug HTTP
T8b949e# logging, enables the in-app update check). Mirror this in the upstream Flathub manifest.
Tb4b4b4- Ta5d6ff./gradlewTa5d6ff Ta5d6ff--offlineTa5d6ff Ta5d6ff-Pdesktop.release=trueTa5d6ff Ta5d6ff:desktopApp:packageUberJarForCurrentOS
Tb4b4b4- Tb4b4b4>
Tff7b72JAR_FILE=$(find desktopApp/build/compose/jars/ -name "*.jar" -type f | head -1)
Tff7b72&& install -Dm755 "$JAR_FILE" /app/lib/meshtastic-desktop.jar
Tff7b72sourcesTb4b4b4:
T8b949e# Desktop metadata (.desktop/.metainfo.xml/.svg) now lives inside the meshtastic-android
T8b949e# source tree (desktopApp/packaging/...) and is installed by build-commands above —
T8b949e# no longer sourced as standalone root-level files.
Tb4b4b4- Tff7b72typeTb4b4b4: Ta5d6ffdir
Tff7b72pathTb4b4b4: Ta5d6ffmeshtastic-android
Tb4b4b4- Tff7b72typeTb4b4b4: Ta5d6fffile
T8b949e# Must be the EXACT distribution from gradle-wrapper.properties (version AND
T8b949e# -bin flavor) — distributionSha256Sum verifies this file. Update together.
Tff7b72urlTb4b4b4: Ta5d6ffhttps://services.gradle.org/distributions/gradle-9.6.1-bin.zip
Tff7b72sha256Tb4b4b4: Ta5d6ff9c0f7faeeb306cb14e4279a3e084ca6b596894089a0638e68a07c945a32c9e14
Tff7b72destTb4b4b4: Ta5d6ff"Ta5d6ffgradle/wrapperTa5d6ff"
Tff7b72dest-filenameTb4b4b4: Ta5d6ff"Ta5d6ffgradle-bin.zipTa5d6ff"
Tb4b4b4- Ta5d6ffflatpak-sources.json

Served by rngit 1.5.0 - Generated in 0.05s